const brance_all = require('../brance_all/brance_all')

const temple = {
  markers:[{
    id: 5,
    latitude: 37.285938126509706, 
    longitude: 112.27677054901733,
    iconPath:brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height,
    customCallout:{
      anchorY: 15,
      anchorX: 40,
      display: 'ALWAYS'
    }
  }, {
    id: 6,
    latitude: 37.17150931416681, 
    longitude: 112.13158356901079,
    iconPath: brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height,
    customCallout:{
      anchorY: 15,
      anchorX: 40,
      display: 'ALWAYS'
    }
  }, {
    id: 7,
    latitude: 37.02984107960633, 
    longitude: 111.91760195643485,
    iconPath: brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height,
    customCallout:{
      anchorY: 15,
      anchorX: -40,
      display: 'ALWAYS'
    }
  }, {
    id: 8,
    longitude: 111.83560663532944,
    latitude: 36.89131669566406,
    iconPath: brance_all.iconPath,
    anchor:brance_all.anchor,
    width:brance_all.width,
    height:brance_all.height,
    customCallout:{
      anchorY: 15,
      anchorX: 60,
      display: 'ALWAYS'
    }
  }],
  customCalloutMarkerIds:[{
    id:5,
    name:'镇国寺'
  },{
    id:6,
    name:'双林寺'
  },{
    id:7,
    name:'后土庙'
  },{
    id:8,
    name:'资寿寺'
  },],
  polyline:[{
    points:[
      //镇国寺
      {latitude: 37.285938126509706, longitude: 112.27677054901733},
      {latitude: 37.28547882618076, longitude: 112.27294738376725},
      {latitude: 37.286185348113925, longitude: 112.26951442913742},
      {latitude: 37.287311619316995, longitude: 112.24901045316187},
      {latitude: 37.26165108014111, longitude: 112.23057494203647},
      {latitude: 37.232207961413, longitude: 112.1844573332238},
      {latitude: 37.19789618219523, longitude: 112.14914291722175},
    

      //双林寺
      {latitude: 37.17150931416681, longitude: 112.13158356901079},
      {latitude: 37.15865021767593, longitude: 112.09698716661421},
      {latitude: 37.143062727241, longitude: 112.0848387010468},

      //后土庙
      {latitude: 37.02984107960633, longitude: 111.91760195643485},
      {latitude: 37.02648186337914, longitude: 111.91556000571836},
      {latitude: 37.02364344686055, longitude: 111.90513484006397},
      {latitude: 37.00968070182137, longitude: 111.91051802503375},
      {latitude: 37.00466043170118, longitude: 111.89770310030542},
      {latitude: 36.941755154790634, longitude: 111.90754936552094},
      {latitude: 36.90309019184472, longitude: 111.90530609475059},
      {latitude: 36.88419722843634, longitude: 111.87995730930675},
      {latitude: 36.8847858451114, longitude: 111.83661434920293},
      //资寿寺
      {latitude: 36.89131669566406, longitude: 111.83560663532944}
    ],
    color: brance_all.color[1],
    width: brance_all.polyline_width,
    dottedLine: false,
    arrowLine:true,
    borderWidth: brance_all.polyline_borwidth,
    borderColor: brance_all.color[1]
  }],
  moveable_markers:[{
    id: 100,
    latitude: 37.285938126509706, 
    longitude: 112.27677054901733,
    iconPath: brance_all.moveable_markers[1],
    width:45,
    height:45,
  }, {
    id: 100,
    latitude: 37.17150931416681, 
    longitude: 112.13158356901079,
    iconPath: brance_all.moveable_markers[1],
    width:45,
    height:45,
  }, {
    id: 100,
    latitude: 37.02984107960633, 
    longitude: 111.91760195643485,
    iconPath: brance_all.moveable_markers[1],
    width:45,
    height:45,
  }, {
    id: 100,
    longitude: 111.83560663532944,
    latitude: 36.89131669566406,
    iconPath: brance_all.moveable_markers[1],
    width:45,
    height:45,
  }]
}

module.exports = {
  temple
}